package com.bdqn.demo04;

import com.bdqn.demo02.Buyer;
import com.bdqn.demo02.RealBuyer;

/**
 * TestCGLIBProxy
 *
 * @author LILIBO
 * @since 2022-09-27
 */
public class TestCGLIBProxy {

    public static void main(String[] args) {
        Buyer buyer = CGLIBProxyFactory.create(RealBuyer.class);
        String result = buyer.havealook();
        System.out.println("执行结果：" + result);
    }
}
